﻿/*******************************************************************************
#                    QuestionEntity.cs
#  Comment:
#
#  Current Version: V1.0
#  Author: 
#
#  History List:
#  V1.0    Created by Onions@2009-8-18 13:40:32
#
#******************************************************************************/
using System;
using System.Collections.Generic;
using System.Text;
using IBatisNet.Extend;

namespace ExpertMIS.Entities
{
    public enum QuestionStatus
    {
        UnPassed = 0,
        Unsolve = 1, // 尚未解决,已经审核的问题
        HasAnswer = 2, // 已有答应，但提问人没有关闭该问题
        Accepted = 3 // 已经解决，提问人已经接受了答案
    }
    /// <summary><c>QuestionEntity</c> Business Object.</summary>
    [Serializable]
    public class QuestionEntity : BaseEntity
    {
        #region Constructor

        public QuestionEntity()
        {
            // construct your entity
        }

        #endregion

        #region Properties

        #region OID

        private String m_oID;

        /// <summary>Gets or sets OID</summary>
        public String OID
        {
            get { return m_oID; }
            set { m_oID = value; }
        }

        #endregion

        #region Title

        private String m_title;

        /// <summary>Gets or sets Title</summary>
        public String Title
        {
            get { return m_title; }
            set { m_title = value; }
        }

        #endregion

        #region Context

        private String m_context;

        /// <summary>Gets or sets Context</summary>
        public String Context
        {
            get { return m_context; }
            set { m_context = value; }
        }

        #endregion

        #region UserName

        private String m_userName;

        /// <summary>Gets or sets UserName</summary>
        public String UserName
        {
            get { return m_userName; }
            set { m_userName = value; }
        }

        #endregion

        #region UserOID

        private String m_userOID;

        /// <summary>Gets or sets UserOID</summary>
        public String UserOID
        {
            get { return m_userOID; }
            set { m_userOID = value; }
        }

        #endregion

        #region UserPhone

        private String m_userPhone;

        /// <summary>Gets or sets UserPhone</summary>
        public String UserPhone
        {
            get { return m_userPhone; }
            set { m_userPhone = value; }
        }

        #endregion

        #region UpdateDate

        private DateTime? m_updateDate;

        /// <summary>Gets or sets UpdateDate</summary>
        public DateTime? UpdateDate
        {
            get { return m_updateDate; }
            set { m_updateDate = value; }
        }

        #endregion

        #region UserEmail

        private String m_userEmail;

        /// <summary>Gets or sets UserEmail</summary>
        public String UserEmail
        {
            get { return m_userEmail; }
            set { m_userEmail = value; }
        }

        #endregion

        #region CreateDate

        private DateTime? m_createDate;

        /// <summary>Gets or sets CreateDate</summary>
        public DateTime? CreateDate
        {
            get { return m_createDate; }
            set { m_createDate = value; }
        }

        #endregion

        #region ClientIP

        private String m_clientIP;

        /// <summary>Gets or sets ClientIP</summary>
        public String ClientIP
        {
            get { return m_clientIP; }
            set { m_clientIP = value; }
        }

        #endregion

        #region Status

        private QuestionStatus m_status;

        /// <summary>Gets or sets Status</summary>
        public QuestionStatus Status
        {
            get { return m_status; }
            set { m_status = value; }
        }

        #endregion

        #region FAQ

        private bool m_faq;

        public bool FAQ
        {
            get { return m_faq; }
            set { m_faq = value; }
        }

        #endregion

        #endregion
    }
}
